home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
090
/
yase.arc
/
FCB.H
< prev
next >
Wrap
Text File
|
1986-12-13
|
1KB
|
33 lines
******************************************************************
* COPYRIGHT (C) 1986 by Donald Krantz and James Stanley
* - Note: This is a real, live, actual, registered copyright,
* and should be treated as such. This source code is from
* the book "68000 Assembly Language", Krantz and Stanley,
* Addison-Wesley Publishing Company, Reading, MA, 1986.
*
* Permission granted by the authors for non-commercial use
* in programs released to the public domain, as long as this
* copyright notice remains attached and visible.
*
*****************************************************************
* FCB Header File - CP/M-68K File Control Block information
*
drive equ 0 * Drive Byte offset
name equ 1 * First name char offset
type equ 9 * First type char offset
extent equ 12 * Extent byte offset
s2 equ 14 * S2 byte offset
reccnt equ 15 * Record Count byte offset
currec equ 32 * Current record byte offset
r_zero equ 33 * R0 Random Record Number offset
r_one equ 34 * R1/R2 Random Record # offset
fcb_sz equ 36 * sizeof( file control block )
*
*****************************************************************
* File Control Block Extensions for file utilities
curchr equ 36 * Offset to current char word
dirty equ 38 * Offset to dirty flag
dma_buf equ 40 * Offset to DMA buffer
file equ 168 * sizeof( extended FCB )